import 'package:flutter/material.dart';
import 'package:xunlongchi/widgets/xl_icons.dart';

import 'package:xunlongchi/util/app_util.dart';

///太极图标大小
///* [min] 小
///* [middle] 中
///* [big] 大
enum TaijiSize { min, middle, big }

///太极图标
class Taiji extends StatelessWidget {
  const Taiji({Key key, this.size = TaijiSize.big}) : super(key: key);

  final TaijiSize size;

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.only(bottom: 30.px),
      child: Icon(
        XLIcons.taiji,
        size: [100.px, 250.px, 350.px][size.index],
        color: Colors.white,
      ),
    );
  }
}
